package com.easyhouse.service;

import com.easyhouse.common.pojo.Product;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "search-service")
public interface SearchFeign {
    @RequestMapping(value = "/search/manage/insert/index",method = RequestMethod.POST)
    void addingIndexes (@RequestParam("productString") String productString);
}
